package com.netty.client.gui.test;

import javax.swing.*;
import java.awt.*;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/8/4 17:04
 */
public class MyJFrame extends JFrame {
    private JFrame jFrame;

    public void init() {
        Dimension dimension = new Dimension();
        dimension.setSize(200,200);

        jFrame = new JFrame();
        jFrame.setSize(dimension);
        jFrame.setLocationRelativeTo(null);
        jFrame.setVisible(true);
    }
}
